package com.cxp.tour.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cxp.tour.entity.Food;
import com.cxp.tour.entity.Hotel;
import com.cxp.tour.mapper.FoodMapper;
import com.cxp.tour.mapper.HotelMapper;
import com.cxp.tour.service.FoodService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.sql.Wrapper;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tour
 * @since 2024-12-03
 */
@Service
public class FoodServiceImpl extends ServiceImpl<FoodMapper, Food> implements FoodService {
    @Resource
    private FoodMapper foodMapper;

    @Override
    public IPage pageCC(IPage<Food> page, Wrapper wrapper){

        return foodMapper.pageCC(page,wrapper);
    }

}
